package com.example.demovalidator.enums;


/**
 * @author lxw
 * @date 2021/8/9
 * @apiNote
 */
public enum ErrorCode {

    PARAM_ERROR("100","参数不正确");

    private String code;
    private String msg;

    ErrorCode(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
